package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomerAccountHistoryDao;
import com.appkubes.mall.core.entity.MallCustomerAccountHistory;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomerAccountHistoryService extends AbstractBaseService<BaseMallCustomerAccountHistoryDao, MallCustomerAccountHistory> {

    MallCustomerAccountHistory getOneByEntity(MallCustomerAccountHistory entity);

    List<MallCustomerAccountHistory> selectListByEntity(MallCustomerAccountHistory entity);

    IPage<MallCustomerAccountHistory> selectPageByEntity(IPage<MallCustomerAccountHistory> page);
    IPage<MallCustomerAccountHistory> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomerAccountHistory> selectPageByEntity(MallCustomerAccountHistory entity, IPage<MallCustomerAccountHistory> page);
    IPage<MallCustomerAccountHistory> selectPageByEntity(MallCustomerAccountHistory entity, PageVO pageVO);

    IPage<MallCustomerAccountHistory> selectPageByEntity(MallCustomerAccountHistory entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomerAccountHistory entity);
}
